<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<?php include("include/header.php"); ?>
<title>统计 |  <?php echo $this->setting->blogname; ?></title>
<link href="<?php echo $this->setting->static; ?>/css/page.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="<?php echo $this->setting->static; ?>/chart/FusionCharts.js"></script>
<script type="text/javascript">
$(document).ready(function(){
	<?php for($i = 0; $i < $pager->getTotalpage(); $i++) { ?>
	var chart<?php echo $i;?> = new FusionCharts("<?php echo $this->setting->static; ?>/chart/FCF_MSLine.swf", "ChId1", "670", "300");
	chart<?php echo $i;?>.setDataURL("<?php echo $this->url('home');?>/boot/statistics/traffic/page/<?php echo ($i+1);?>?hash=<?php echo $this->hash;?>");
	chart<?php echo $i;?>.render("traffic<?php echo $i;?>");
	<?php } ?>
});
</script>
</head>

<body>
<?php include("include/banner.php"); ?>
<div id="container">
	<div id="blog">
		<div id="content">
			<div id="main">
				<div id="main-content">
					<h1 class="title">统计</h1>
					<div class="clear"></div>
					<ul class="post" id="charts">
						<li class="content">
							<?php for($i = 0; $i < $pager->getTotalpage(); $i++) { ?>
							<div id="traffic<?php echo $i;?>"></div>
							<div class="clear"></div>
							<?php } ?>
						</li>
						<li class="meta meta1"></li>
					</ul>
					<div class="paged paged1">&nbsp;</div>
				</div>
			</div>
			
			<!-- side bar -->
			<div id="side">
				<?php include("include/sidebar.php"); ?>
			</div>
			
			<div class="clear h25"></div>
		</div>
		<div class="clear"></div>
	</div>	
</div>

<?php include("include/footer.php"); ?>
</body>
</html>